package com.ruoyi.cpi.service.ipml;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.cpi.domain.Cpi;
import com.ruoyi.cpi.mapper.CpiMapper;
import com.ruoyi.cpi.service.ICpiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CpiServiceImpl extends ServiceImpl<CpiMapper, Cpi> implements ICpiService {
    @Autowired
    private CpiMapper cpiMapper;

    @Override
    public List<Cpi> list(Cpi cpi) {
        return cpiMapper.list(cpi);
    }

    @Override
    public List<Cpi> getList(String mname) {
        return cpiMapper.getList(mname );
    }

    @Override
    public List<Cpi> getNationCpi(Cpi cpi) {
        return cpiMapper.getNationCpi(cpi);
    }

}
